package xw.qxypt.modules.baseinfo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xw.qxypt.common.utils.BaseTree;
import xw.qxypt.common.utils.PageUtils;
import xw.qxypt.modules.baseinfo.entity.LhpDataEquipmentinfoEntity;
import xw.qxypt.modules.baseinfo.entity.LhpInstallationPointEntity;
import xw.qxypt.modules.socket.entity.DataCollection;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 安装点管理
 *
 * @author xw
 * @email 
 * @date 2019-11-28 16:38:08
 */
public interface LhpInstallationPointService extends IService<LhpInstallationPointEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<BaseTree> pointTree();

    List<LhpInstallationPointEntity> getPointByUserId(Long userId);

    Map<String, LhpDataEquipmentinfoEntity> getDataByUserId(Long userId);

    void refreshDataCollectionMap(HashMap<String, DataCollection> map);
}

